package com.bwie.common.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 拼团参与记录表
 * </p>
 *
 * @author liuxin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_group_buying_participation_records")
@ApiModel(value="TGroupBuyingParticipationRecords对象", description="拼团参与记录表")
public class GroupBuyingParticipationRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "拼团参与记录ID")
    @TableId(value = "record_id", type = IdType.AUTO)
    private Long recordId;

    @ApiModelProperty(value = "拼团活动商品ID")
    private Long groupBuyingActivityProductId;

    @ApiModelProperty(value = "团长ID")
    private Long leaderId;

    @ApiModelProperty(value = "助力用户ID（拼团成功后的助力用户）")
    private Long userId;

    @ApiModelProperty(value = "状态（0:进行中, 1:成功, 2:失败）")
    private Integer status;

    @ApiModelProperty(value = "逻辑删除（0:未删除, 1:已删除）")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updatedAt;


}
